Platform Explorer / Nuxeo Platform 2021.7

Component org.nuxeo.search.ui.urlservice

Resolution Order

821
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.search.ui.urlservice">

  <extension
    target="org.nuxeo.ecm.platform.url.service.DocumentViewCodecService"
    point="codecs">

    <documentViewCodec name="docpathsearch" enabled="true" default="false"
      prefix="nxsearch"
      class="org.nuxeo.search.ui.codec.SearchCodec" />

  </extension>

  <extension target="org.nuxeo.ecm.platform.ui.web.rest.URLService"
    point="urlpatterns">

    <urlPattern name="search" enabled="true">
      <defaultURLPolicy>false</defaultURLPolicy>
      <needBaseURL>true</needBaseURL>
      <needRedirectFilter>true</needRedirectFilter>
      <needFilterPreprocessing>true</needFilterPreprocessing>
      <codecName>docpathsearch</codecName>
      <actionBinding>
        #{searchUIActions.loadPermanentLink}
      </actionBinding>
      <documentViewBindingApplies>
        #{mainTabsActions.isOnMainTab('search')}
      </documentViewBindingApplies>
      <documentViewBinding>#{restHelper.documentView}</documentViewBinding>
      <newDocumentViewBinding>
        #{restHelper.getNewDocumentView(null)}
      </newDocumentViewBinding>
      <bindings>
        <binding name="tabIds">#{searchUIActions.searchMainTab}</binding>
        <binding name="language" callGetter="false">
          #{restHelper.localeString}
        </binding>
        <binding name="contentViewName" callGetter="true">
          #{searchUIActions.currentContentViewName}
        </binding>
        <binding name="currentPage" callGetter="true">
          #{searchUIActions.currentPage}
        </binding>
        <binding name="pageSize" callGetter="true">
          #{searchUIActions.pageSize}
        </binding>
        <binding name="state" callGetter="false">
          #{searchUIActions.state}
        </binding>
        <binding name="searchTerm" callGetter="false">
          #{searchUIActions.searchTerm}
        </binding>
      </bindings>
    </urlPattern>

  </extension>

</component>